<?php
$this->breadcrumbs = array(
	'News'=>array('index'),
	$model->_id,
);

$this->menu = array(
	array('label'=>'List News', 'url'=>array('index')),
	array('label'=>'Create News', 'url'=>array('create')),
	array('label'=>'Update News', 'url'=>array('update', 'id'=>$model->_id)),
	array('label'=>'Delete News', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete', 'id'=>$model->_id), 'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage News', 'url'=>array('admin')),
);
?>

<h1>View News #<?php echo $model->_id; ?></h1>

<?php
$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'_id',
		array(
			'name'=>'dateTime',
			'value'=>date("Y-m-d H:i:s", $model->dateTime),
		),
		array(
			'name'=>'sticky',
			'value'=>$model->sticky ? "Yes" : "No",
		),
		array(
			'name'=>'hidden',
			'value'=>$model->hidden ? "Yes" : "No",
		),
		'sender',
		'contact',
		'value',
	),
));
?>
